package NotificationIRPNotifications;


/**
 * Generated from IDL struct "NonFilterableEventBody".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class NonFilterableEventBodyHelper
{
	private static org.omg.CORBA.TypeCode _type = null;
	public static org.omg.CORBA.TypeCode type ()
	{
		if (_type == null)
		{
			_type = org.omg.CORBA.ORB.init().create_struct_tc(NotificationIRPNotifications.NonFilterableEventBodyHelper.id(),"NonFilterableEventBody",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("name_value_pairs", CosNotification.PropertySeqHelper.type(), null),new org.omg.CORBA.StructMember("remainder_of_non_filterable_body", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(11)), null)});
		}
		return _type;
	}

	public static void insert (final org.omg.CORBA.Any any, final NotificationIRPNotifications.NonFilterableEventBody s)
	{
		any.type(type());
		write( any.create_output_stream(),s);
	}

	public static NotificationIRPNotifications.NonFilterableEventBody extract (final org.omg.CORBA.Any any)
	{
		return read(any.create_input_stream());
	}

	public static String id()
	{
		return "IDL:NotificationIRPNotifications/NonFilterableEventBody:1.0";
	}
	public static NotificationIRPNotifications.NonFilterableEventBody read (final org.omg.CORBA.portable.InputStream in)
	{
		NotificationIRPNotifications.NonFilterableEventBody result = new NotificationIRPNotifications.NonFilterableEventBody();
		result.name_value_pairs = CosNotification.PropertySeqHelper.read(in);
		result.remainder_of_non_filterable_body=in.read_any();
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream out, final NotificationIRPNotifications.NonFilterableEventBody s)
	{
		CosNotification.PropertySeqHelper.write(out,s.name_value_pairs);
		out.write_any(s.remainder_of_non_filterable_body);
	}
}
